package me.luger.core.auth.cookie.annotation;

import me.luger.core.mvc.entity.Result;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by luger on 2017/5/10.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface CookieAuth {
    String directUrl() default "";
    int retCode() default -403;

}
